package day033;

public class Day03{
    public static void main(String[] args) {
       int num=0;
       int flag=num>0?1:-1;
       System.out.println(flag);

       int a=8,b=5;
       int max=a>b?a:b;
       System.out.println(max);















       /*a+=10;//a=a+10
       System.out.println(a);//15
         a*=2;//a=a*2
        System.out.println(a);
        a/=6;//a=a/6
        System.out.println(a);
        short s=5;
        //s=s+10;编译错误,s=(short)(s+10)
        s+=10;//相当于s=(short)(s+10)


        */













       /*boolean b3=a>b && c++>2;
       System.out.println(b3);
       System.out.println(c);
       boolean b4 =a<b || c++>2;
       System.out.println(b3);
       System.out.println(c);


        */












     /* System.out.println(b>=a || b<c);
      System.out.println(b<=c || b>a);
      System.out.println(b!=c||b>a);
      System.out.println(a==b||b<a);
      int score=90;
      System.out.println(score<0||score>100);
      boolean b2=!(a<b);
      System.out.println(b2);
      System.out.println(!(a<b));


      */


















       /* boolean b1=b>=a && b<c;
       System.out.println(b1);
       System.out.println(b<=c && b>a);
       System.out.println(a==b && b<a);
       System.out.println(b!=c && b>a);
        int age =99;
        System.out.println(age>=18 && age<=50);
        int score =86;
        System.out.println(score>=0 && score<=100);

       */

















        /*int a=5,b=10,c=5;
       boolean b1=a>b;
       System.out.println(b1);
        System.out.println(a>b);
        System.out.println(b>c);
        System.out.println(a>=c);
        System.out.println(a<=c);
        System.out.println(a==c);
        System.out.println(b!=c);

        System.out.println(b%2==c);
        System.out.println(a+c==b);
        System.out.println(++b==c);


        */





















        /*int a=5,b=5;
        System.out.println(a++);
        System.out.println(++b);
        System.out.println(++a);
        System.out.println(a);
        System.out.println(b);
        a++;
        ++b;

         */


    }
}
